package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.system.entity.AbdulBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

@Data
@TableName("sy_employee_service_reservation")
@ApiModel("员工服务预订实体")
public class SyEmployeeServiceReservation extends AbdulBaseEntity {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("主键ID")
    private Long id;


    @ApiModelProperty("预约单号")
    private String bookingNumber;

    @ApiModelProperty("预约会员")
    private String bookingVip;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("预约项目")
    private String appointmentProject;

    @ApiModelProperty("项目员工")
    private String appointmentEmployees;

    @ApiModelProperty("到店时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date arrivalTime;

    @ApiModelProperty("自动取消时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date automaticallyCancelTime;

    @ApiModelProperty("订单状态（1-已取消 4-已预约，5-已完成）")
    private Integer orderStatus;

    @ApiModelProperty("预约时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date bookingTime;

    @ApiModelProperty("门店id")
    private Long storeId;


    //DTO
    @ApiModelProperty("订单状态")
    @TableField(exist = false)
    private String orderStatusDesc;


}
